package org.the.gsdo.shared;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name="x_user")
// create table x_user (x_id varchar(255) not null, x_userName varchar(255) not null unique, primary key (x_id)) ENGINE=InnoDB
public class User {

	@Id
	@Column(name="x_id")
	private String id;
	@Column(name="x_userName")
	private String username;

	public User() {

	}

	public void setId(String id) {
		this.id = id;
	}

	public String getId() {
		return id;
	}

	public void setUsername(String username) {
		this.username = username;
	}

	public String getUsername() {
		return username;
	}

}
